package homework_03;

public class home_17 {
    public static void main(String[] args) {
        int a=1234,i;
        while(a!=0){
            i=a%10;
            a=a/10;
            System.out.print(i);
        }
    }
}
